package com.yungu.swift.lbs.trace.baidu.track;

import com.yungu.swift.lbs.trace.baidu.model.BaseResponse;

/**
 * @description  查询里程响应类
 * @date 2017/12/2 14:15
 * @version 1.0
 */
public class DistanceResponse extends BaseResponse {

    /**
     * 返回的里程
     */
    private double distance;

    public DistanceResponse(long responseID, int status, String message) {
        super(responseID, status, message);
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    @Override
    public String toString() {
        return "DistanceResponse{" +
                "distance='" + distance + '\'' +
                "} " + super.toString();
    }
}
